package com.springboot2.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Menu {
    private Integer id;
    private String name;
    private String title;
    private String path;
    private String icons;
    private String component;
    private Boolean shown;
    private Integer pid;
    private int level;
    private int ordernumb;
    @TableField(exist = false)
    public List<Menu> children;
}
